package com.wnxy.sddfp.client.payback;

import com.wnxy.sddfp.common.model.dto.payback.PayBackDTO;
import com.wnxy.sddfp.common.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("sddfp-pay-back-service")
public interface BorrowerPayPlanApi {

    @ApiOperation("生成还款计划")
    @PostMapping("/pay-plan/inner/start")
    Result payPlan(@RequestBody PayBackDTO payBackDTO);
}
